# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=s6-portable-utils-man-pages
pkgver=2.3.0.2.2
pkgrel=3
pkgdesc="Unofficial mdoc versions of the s6-portable-utils documentation"
url="https://git.sr.ht/~flexibeast/s6-portable-utils-man-pages"
arch="noarch"
license="ISC"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~flexibeast/s6-portable-utils-man-pages/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no tests
install_if="${pkgname%-*-*}>=${pkgver%.*} docs"

package() {
	make DESTDIR="$pkgdir" install

	find "$pkgdir" -type f ! -name "*.gz" \
		-exec gzip -9 {} \;
}

sha512sums="
180870574d3e96c8d28519fbede7d1172ef15384b300cfce6bd5efa042e9653f2f14a608d2c91f976b1addf354b5988910c762734ff34b7ed96272bd82005002  s6-portable-utils-man-pages-2.3.0.2.2.tar.gz
"
